import api from './api'

let tk = '', apiUrl = '', serviceUrl = '';

export function setToken (token) {
    tk = token;
}

export function setApiUrl(url) {
    apiUrl = url;
}
export function setServiceUrl(url) {
    serviceUrl = url;
}

export function getToken () {
    return tk;
}

export function getApiUrl () {
    return apiUrl;
}

export function getServiceUrl() {
    return serviceUrl;
}

export default {
    api
}